package com.wanbangee.marksystem.service;

import java.util.Map;


public interface SettingTopicNoMangerService {
	/**
	 * 将模板表的信息插入客观题和主观题
	 */
	void insertIntoMObjectiveAnswerAndMSubjectiveSetBySelectMAnswerSheetTemplate();
	/**
	 * 通过exam_id和exam_sub_id查询这场模板考试的总分
	 * @param exam_id
	 * @param examSubId
	 * @return
	 */
	Map<String,Object> selectTopicScoreTempTotal(Integer examd,Integer examSubId);
	/**
	 * 查询客观题列表
	 * @return
	 */
	Map<String,Object> selectMObjectiveAnswer(Integer examId,Integer examSubId);
	/**
	 * 更新客观题
	 * @param rightAnswer
	 * @param topicScore
	 * @param isGainScore
	 * @param gainScore
	 * @return
	 */
	Map<String,Object> updateMObjectiveAnswer(String rightAnswer,Double topicScore,Integer isGainScore ,Integer topicType ,Double gainScore,String topicNo,Integer examId,Integer examSubId);
	
	/**
	 * 查询主观题列表
	 * @return
	 */
	Map<String,Object> selectMSubjectiveSet(Integer examId,Integer examSubId);
	/**
	 * 更新主观题
	 * @param topicScore
	 * @param stepSize
	 * @param topicNo
	 * @return
	 */
	Map<String,Object> updateMSubjectiveSet(Double topicScore ,Integer stepSize,String topicNo,Integer examId,Integer examSubId);
	/**
	 * 保存设置 （总分比对）
	 * @param examId
	 * @param examSubId
	 * @return
	 */
	Map<String,Object> saveSetting(Integer examId,Integer examSubId); 

}
